package cn.bonoon.controllers.recycle;

import java.util.Date;

import cn.bonoon.kernel.support.models.AbstractItem;
import cn.bonoon.kernel.web.annotations.grid.AsColumn;
import cn.bonoon.kernel.web.annotations.grid.AsDataGrid;
import cn.bonoon.kernel.web.annotations.grid.GridOptions;

@AsDataGrid(condition = RecycleCondition.class, value = @GridOptions(operationWith = 120, fitColumns = true))
public class RecycleItem extends AbstractItem implements RecycleDefine {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1009757831844216650L;

	@AsColumn(width = 100, ordinal = 0)
	private String name;

	@AsColumn(width = 220, ordinal = 1)
	private String entityName;

	@AsColumn(width = 100, ordinal = 2)
	private Date createAt;

	@AsColumn(width = 100, ordinal = 3)
	private String creatorName;

	@AsColumn(width = 100, ordinal = 4)
	private String exceptionStatus;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public String getCreatorName() {
		return creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public String getExceptionStatus() {
		return exceptionStatus;
	}

	public void setExceptionStatus(String exceptionStatus) {
		this.exceptionStatus = exceptionStatus;
	}

}
